DataGridComboBoxColumnItemAdd

 

Add an item from the ComboBox column of the DataGrid object.

 

void @DataGridComboBoxColumnItemAdd(string classname, string column_name, string item);

 

Parameters

string class_name : Class name of the DataGrid object

string column_name : Column name (You can set the column name firstly by using this function. If you refer to column which is related to other Grid function, you have to use column name which is set by this function.)

string item : String of item to be added

 

Return Value

None

 

¿¹Á¦

Example

@DataGridAddComboBoxColumn("DataGrid1", "Combo", "Combo", "");
@DataGridComboBoxColumnItemAdd("DataGrid1", "Combo", "Korean");
@DataGridComboBoxColumnItemAdd("DataGrid1", "Combo", "English");
@DataGridComboBoxColumnItemAdd("DataGrid1", "Combo", "Japanese");
@DataGridComboBoxColumnItemAdd("DataGrid1", "Combo", "Chinese");

 

Description : Add a combo box Column 'Combo' to the DataGrid object 'DataGrid1'.  Then, add "korean", "English", "Japanese" and "Chinese" items in the combo box.

 

Version Information

Supported Version: 10.3.2

 

Related Helps

@DataGridAddButtonColumn()

@DataGridAddCheckBoxColumn()

@DataGridAddComboBoxColumn()

@DataGridAddRow()

@DataGridAddTextBoxColumn()

@DataGridClearColumn()

@DataGridComboBoxColumnItemAdd()

@DataGridDeleteRow()

@DataGridGetCellData()

@DataGridGetCellSel()

@DataGridGetColumnName()

@DataGridGetCurSel()

@DataGridGetRowCount()

@DataGridGetRowData()

@DataGridInsertRow()

@DataGridReLoad()

@DataGridSetCellBackColor()

@DataGridSetCellData()

@DataGridSetCellTextColor()

@DataGridSetColumnAlignment()

@DataGridSetColumnHeadersHeight()

@DataGridSetColumnIndex()

@DataGridSetColumnReadOnly()

@DataGridSetColumnText()

@DataGridSetColumnVisible()

@DataGridSetColumnWidth()

@DataGridSetCurSel()

@DataGridSetDataTable()

@DataGridSetDsn()

@DataGridSetRowData()

@DataGridSetRowHeight()

@DataGridSetSelect()